package chapterOne.accessModifiers;

public class SubClass extends SuperClass {

	public static void main(String args[]){
		
		SubClass sub=new SubClass();
		sub.showHello();//Line 1
	 
	}
	
	private void showHello(){
		 super.nom="Ourich rachid"; //both are working
		 this.nom="Ourich";//both are working
		System.out.println("hello people of the sub class");
	 	
	}
  
}
